<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Freight_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-freight_id" data-rule="required" data-source="/user/mall/shop/freight/index" class="form-control selectpage" disabled name="row[freight_id]" type="text" value="{$freightId}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Express_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-express_ids" data-rule="required" data-source="/user/mall/oper/express/selectpage" data-multiple="true" class="form-control selectpage" name="row[express_ids]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Region_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-region_ids" data-rule="required" name="row[region_ids]" type="hidden" value="">
            <div class="col-xs-3">
                <input name="row[category1]" value="" data-params='{"custom[pid]":"0"}' id="c-category1" data-source="/user/mall/oper/area/selectpage" data-multiple="true" class="form-control selectpage" placeholder="{:__('Category L1')}" type="text">
            </div>
            <div class="col-xs-3">
                <input name="row[category2]" value="" id="c-category2"  data-source="/user/mall/oper/area/selectpage" class="form-control selectpage" data-multiple="true" placeholder="{:__('Category L2')}" type="text">
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first" data-rule="required" class="form-control" name="row[first]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first_fee" data-rule="required" class="form-control" step="0.01" name="row[first_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Additional')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-additional" data-rule="required" class="form-control" name="row[additional]" type="number" value="1">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Additional_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-additional_fee" data-rule="required" class="form-control" step="0.01" name="row[additional_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="0">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
